<html>
<head>
    <title>首页</title>
</head>
<body>

<a href="toAdd">新增员工</a>

<table border="1" width="60%" align="center">
    <tr>
        <td>编号</td>
        <td>姓名</td>
        <td>性别</td>
        <td>年龄</td>
        <td>工龄</td>
        <td>部门</td>
        <td>描述</td>
        <td>操作</td>
    </tr>
    <#list employeeVos as a>

    <tr>
        <td>${a.empId}</td>
        <td>${a.empName}</td>
        <td>
            <#if a.empSex==1>
                男
                <#else>
                女
            </#if>
        </td>
        <td>${a.empAge}</td>
        <td>${a.empYear}</td>
        <td>${a.postName}</td>
        <td>${a.postDesc}</td>
        <td>操作</td>
    </tr>
    </#list>
</table>
</body>
</html>